package com.wntms.ywa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
/**
 *`fid` varchar(50) NOT NULL COMMENT '货运单编号',
 *   `fare` double DEFAULT NULL COMMENT '运费',
 *   `insurancefare` double DEFAULT NULL COMMENT '保险费',
 *   `auditstatus` tinyint(1) DEFAULT NULL COMMENT '审核状态',
 *   `pay` int(11) DEFAULT NULL COMMENT '付款方式',
 *   `sdate` date DEFAULT NULL COMMENT '预定发货日期',
 *   `fiid` int(11) DEFAULT NULL COMMENT '货运信息表id',
 *   `ciid` int(11) DEFAULT NULL COMMENT '发货客户id',
 *   `coid` int(11) DEFAULT NULL COMMENT '收货客户id',
 *   `flid` int(11) DEFAULT NULL COMMENT '货运路线表id',
 *   `fsid` int(11) DEFAULT NULL COMMENT '货运状态表id',
 *   付款类型refundtype 代收货款payment
 */
@Data
public class FreightContract {
    private Integer uid;
    private String fid;
    private Double fare;
    private Double insurancefare;
    private String auditstatus;
    private Integer pay;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sdate;
    private Integer id;
    private Integer fiid;
    private Integer coid;
    private Integer flid;
    private Integer fsid;
    private String payment;
    private String arrivetime;
    private String refundtype;
    private String occurtime;
//    收货人
    private String name;

    public FreightContract() {

    }


}

